import request from '../utils/request'

export function articleDetail (params) {
  return request({
    url: '/article/detail',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data: params
  })
}
export function articleClassDetail (params) {
  return request({
    url: '/article/class/detail',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data: params
  })
}
export function articleClassList (params) {
  return request({
    url: '/article/list',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data: params
  })
}
export function articleMenu (params) {
  return request({
    url: '/article/class/menu',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data: params
  })
}

